@import "~webviz-core/src/styles/mixins.module.scss";
.container {
  position: relative;
  margin: $control-margin;
  flex: 1 1 auto;
  display: flex;

  &.open {
    @extend %floating-box;
  }
}

.select {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.5);
  background-color: transparentize($text-normal, 0.2);
  border-radius: 4px;
  height: auto;
  min-height: 26px;
  border: none;
  padding: $control-padding;
  cursor: pointer;
  color: $text-input;

  .value {
    @include sans-serif;
    flex: 1 1 auto;
  }

  &.open {
    @extend %floating-box;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    padding: $control-padding;
    padding-right: 20px;
    color: $text-control;
  }

  .icon {
    font-size: 14px;
  }
}

.menu {
  @extend %floating-box;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999999999;
}
